home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ian & Stuart's Australian Mac 1993 September
/
clonecd
/
September 93.img
/
Archives
/
Decoration
/
Screensavers
/
Screen Savers
/
TwilightZone
/
source
/
sndstuff.c
< prev
next >
Wrap
C/C++ Source or Header
|
1993-07-17
|
371b
|
24 lines
#include "GraphicsModule_Types.h"
#include "sndstuff.h"
OSErr MakeModuleSound(SndChannelPtr *retSndChannel,short soundType)
{
OSErr err;
*retSndChannel = nil;
if (soundType==-1)
return;
err = SndNewChannel(retSndChannel,soundType,0,nil);
return err;
}
OSErr DisposeModuleSound(SndChannelPtr sndCh)
{
if (sndCh)
return SndDisposeChannel(sndCh,true);
}